//
//  UINavigationItem+NH.m
//  框架
//
//  Created by 牛辉 on 15-4-12.
//  Copyright (c) 2015年 niu. All rights reserved.
//

#import "UINavigationItem+NH.h"

@implementation UINavigationItem (NH)
- (void)copyFromOther:(UINavigationItem *)other
{
    self.rightBarButtonItem = other.rightBarButtonItem;
    self.rightBarButtonItems = other.rightBarButtonItems;
    self.leftBarButtonItem = other.leftBarButtonItem;
    self.leftBarButtonItems = other.leftBarButtonItems;
    self.title = other.title;
    self.titleView = other.titleView;
}
+ (void)copyFrom:(UINavigationItem *)from to:(UINavigationItem *)to
{
    [from copyFromOther:to];
 
}
@end
